lib/bootloader: assert invariants
authorLuca BRUNO <luca.bruno@coreos.com>
Mon, 5 Sep 2022 09:22:26 +0000 (09:22 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Mon, 5 Sep 2022 09:27:38 +0000 (09:27 +0000)
commit273089d9e43baab25d09732c639c22bda087bae9
treeddc89f06fb7d249a48e19008cb913bb5d5248a85
parenteed9e9f335eeddb6cd648239daa23e99b93f9d41
lib/bootloader: assert invariants

This tweaks some invariants checks into full assertions, in order
to avoid returning to the caller in case of known invalid states.
src/libostree/ostree-bootconfig-parser.c
src/libostree/ostree-bootloader.c